import kotlin.jvm.functions.Function2;

import java.io.IOException;

/**
 * @author Jiange
 * @create 2022-01-18-11:15
 */
public class Student {
    public String name = "李子建";
    public String sayHello() throws IOException {
        jian.test20(10);
        //自动生成get和set方法
        Test test = new Test(name = "jian");
//        String name = test.getName();
        String name = test.name;
//        test.Companion.getMAX()
//        test.MAX
        test.getSpeel();
        Test.getSpeel();
//        jian.getJian()
        Function2<String, Integer, String> a = jian.JianJian;
        a.invoke("jian", 18);
        return "hello";
    }


    public void test() throws IOException{
        throw new IOException();
    }
}
